package com.school.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.school.entity.HljtOnduty;
@Repository
public interface HljtOndutyDao {
	/**
	 * 通过班级id和德育模式id查找值日人
	 * @param classid
	 * @param typeid
	 * @return
	 */ 
	public List<HljtOnduty> findOnduty(@Param(value="classid")Integer classid,@Param(value="typeid")Integer typeid);
	
	/**
	 * 通过班级id和德育模式id和星期几查找值日人id
	 * @param classid
	 * @param typeid
	 * @return
	 */ 
	public List<HljtOnduty> findOndutyclassid(@Param(value="classid")Integer classid,@Param(value="typeid")Integer typeid,@Param(value="week")String week);
} 
